
export default [

    //查询所有管理员
    {
        path:"admins",
        name:"AdminadminsList",
        component: () => import("@/views/admins/list"),
        meta: {authLogin:true ,title:"管理员列表"}
    },

    //管理员信息编辑
    {
        path:"adminsupdt",//路径
        name:"AdminadminsUpdt",//别名
        props:route=>({id:route.query.id}),//传入数据
        component: () => import("@/views/admins/updt"),//跳转到页面
        meta: {authLogin:true,title:"编辑管理员" }//登录状态true保持
    },

    //管理员添加
    {
        path:"adminsadd",
        name:"AdminadminsAdd",
        component: () => import("@/views/admins/add"),
        meta: {authLogin:true, title:"添加管理员" }
    },

    //用户查询
    {
        path:"user",
        name:"User",
        component: () => import("@/views/user/list"),
        meta: {authLogin:true, title:"用户列表" }
    },

    //用户编辑
    {
        path:"user_updt",
        name:"UserUpdt",
        props: route => ({id: route.query.id}),
        component: () => import("@/views/user/updt"),
        meta: {authLogin:true, title:"编辑用户" }
    },

    //用户添加
    {
        path:"user_add",
        name:"UserAdd",
        component: () => import("@/views/user/add"),
        meta: {authLogin:true, title:"添加用户" }
    },

    //地区添加
    {
        path:"diqu_add",
        name:"DiquAdd",
        component: () => import("@/views/diqu/add"),
        meta: {authLogin:true, title:"添加地区" }
    },
    //编辑地区
    {
        path:"diquupdt",
        name:"AdmindiquUpdt",
        props:route=>({id:route.query.id}),
        component: () => import("@/views/diqu/updt"),
        meta: { title:"编辑地区",authLogin:true }
    },
    //地区分页条件查询
    {
        path:"diqu_list",
        name:"DiquList",
        component: () => import("@/views/diqu/list"),
        meta: {authLogin:true, title:"地区查询" }
    },

    //景点信息管理
    {
        path:"jingdianxinxiadd",
        name:"JingdianxinxiAdd",
        component: () => import("@/views/jingdianxinxi/add"),
        meta: {authLogin:true, title:"添加景点信息" }
    },

    //景点信息列表
    {
        path:"jingdianxinxi",
        name:"JingdianxinxiList",
        component: () => import("@/views/jingdianxinxi/list"),
        meta: {authLogin:true, title:"景点信息列表" }
    },

    //景点详情查询
    {
        path:"jingdianxinxidetail",
        name:"JingdianxinxiDetail",
        props: route => ({id:route.query.id}),
        component: () => import("@/views/jingdianxinxi/detail"),
        meta: {authLogin:true, title:"景点详情信息" }
    },

    //景点信息编辑修改
    {
        path:"jingdianxinxiupdt",
        name:"JingdianxinxiUpdt",
        props: route => ({id:route.query.id}),
        component: () => import("@/views/jingdianxinxi/updt"),
        meta: {authLogin:true, title:"景点信息编辑" }
    },


    //添加地方美食
    {
        path:"Local_cuisine_add",
        name:"AdmindifangmeishiAdd",
        component: () => import("@/views/difangmeishi/add"),
        meta: { title:"添加地方美食",authLogin:true }
    },

    //菜系分类列表
    {
        path:"Gastronomy_classification",
        name:"AdminmeishifenleiList",
        component: () => import("@/views/meishifenlei/list"),
        meta: { title:"菜系分类列表",authLogin:true }
    },
    //菜系分类添加
    {
        path:"Gastronomy_classification_add",
        name:"AdminmeishifenleiList",
        component: () => import("@/views/meishifenlei/add"),
        meta: { title:"菜系分类列表",authLogin:true }
    },

    //地方美食列表
    {
        path:"difangmeishi",
        name:"AdmindifangmeishiList",
        component: () => import("@/views/difangmeishi/list"),
        meta: { title:"地方美食列表",authLogin:true }
    },
    //地方美食详情
    {
        path:"difangmeishidetail",
        props:route=>({id:route.query.id}),
        name:"AdmindifangmeishiDetail",
        component: () => import("@/views/difangmeishi/detail"),
        meta: { title:"地方美食详情",authLogin:true }
    },
    //编辑地方美食
    {
        path:"difangmeishiupdt",
        name:"AdmindifangmeishiUpdt",
        props:route=>({id:route.query.id}),
        component: () => import("@/views/difangmeishi/updt"),
        meta: { title:"编辑地方美食",authLogin:true }
    },
    //添加美食分类
    {
        path:"meishifenleiadd",
        name:"AdminmeishifenleiAdd",
        component: () => import("@/views/meishifenlei/add"),
        meta: { title:"添加美食分类",authLogin:true }
    },
    //编辑美食分类
    {
        path:"meishifenleiupdt",
        name:"AdminmeishifenleiUpdt",
        props:route=>({id:route.query.id}),
        component: () => import("@/views/meishifenlei/updt"),
        meta: { title:"编辑美食分类",authLogin:true }
    },

    //添加旅游路线
    {
        path:"tourist_routes_add",
        name:"AdminlvyouxianluAdd",
        component: () => import("@/views/tourist_routes/add"),
        meta: { title:"添加旅游路线",authLogin:true }
    },
    //旅游线路详情
    {
        path:"tourist_routes_detail",
        name:"AdminlvyouxianluDetail",
        props:route=>({id:route.query.id}),
        component: () => import("@/views/tourist_routes/detail"),
        meta: { title:"旅游线路详情",authLogin:true }
    },
    //旅游线路列表
    {
        path:"tourist_routes",
        name:"AdminlvyouxianluList",
        component: () => import("@/views/tourist_routes/list"),
        meta: { title:"旅游线路列表",authLogin:true }
    },
    //编辑旅游线路
    {
        path:"tourist_routes_updt",
        name:"AdminlvyouxianluUpdt",
        props:route=>({id:route.query.id}),
        component: () => import("@/views/tourist_routes/updt"),
        meta: { title:"编辑旅游线路",authLogin:true }
    },
    //订单列表
    {
        path:"booking",
        name:"BookingList",
        component: () => import("@/views/booking/list"),
        meta: { title:"订单列表",authLogin:true }
    },
    //编辑订单
    {
        path:"booking_updt",
        name:"AdminyudingUpdt",
        props:route=>({id:route.query.id}),
        component: () => import("@/views/booking/updt"),
        meta: { title:"编辑订单",authLogin:true }
    },
    //订单添加
    {
        path:"tourist_route_add",
        name:"TouristRouteAdd",
        component: () => import("@/views/booking/add"),
        meta: { title:"订单添加"  }
    },
    //新闻分类列表
    {
        path:"news_information",
        name:"AdminxinwenfenleiList",
        component: () => import("@/views/news_information/list"),
        meta: { title:"新闻分类列表",authLogin:true }
    },
    //添加新闻分类
    {
        path:"news_information_add",
        name:"AdminxinwenfenleiAdd",
        component: () => import("@/views/news_information/add"),
        meta: { title:"添加新闻分类",authLogin:true }
    },
    //编辑新闻分类
    {
        path:"news_information_updt",
        name:"AdminxinwenfenleiUpdt",
        props:route=>({id:route.query.id}),
        component: () => import("@/views/news_information/updt"),
        meta: { title:"编辑新闻分类",authLogin:true }
    },
    //新闻信息列表
    {
        path:"news",
        name:"AdminxinwenxinxiList",
        component: () => import("@/views/news/list"),
        meta: { title:"新闻信息列表",authLogin:true }
    },
    //新闻信息列表
    {
        path:"xinwenxinxi_tianjiaren",
        name:"AdminxinwenxinxiListtianjiaren",
        component: () => import("@/views/news/list-tianjiaren"),
        meta: { title:"新闻信息列表",authLogin:true }
    },
    //添加新闻信息
    {
        path:"news_add",
        name:"AdminxinwenxinxiAdd",
        component: () => import("@/views/news/add"),
        meta: { title:"添加新闻信息",authLogin:true }
    },
    //新闻信息详情
    {
        path:"news_detail",
        props:route=>({id:route.query.id}),
        name:"AdminxinwenxinxiDetail",
        component: () => import("@/views/news/detail"),
        meta: { title:"新闻信息详情",authLogin:true }
    },
    //编辑新闻信息
    {
        path:"news_updt",
        name:"AdminxinwenxinxiUpdt",
        props:route=>({id:route.query.id}),
        component: () => import("@/views/news/updt"),
        meta: { title:"编辑新闻信息",authLogin:true }
    },
    //友情链接列表
    {
        path:"links",
        name:"AdminyouqinglianjieList",
        component: () => import("@/views/Links/list"),
        meta: { title:"友情链接列表",authLogin:true }
    },
    //添加友情链接
    {
        path:"links_add",
        name:"AdminyouqinglianjieAdd",
        component: () => import("@/views/Links/add"),
        meta: { title:"添加友情链接",authLogin:true }
    },
    //编辑友情链接
    {
        path:"links_updt",
        name:"AdminyouqinglianjieUpdt",
        props:route=>({id:route.query.id}),
        component: () => import("@/views/Links/updt"),
        meta: { title:"编辑友情链接",authLogin:true }
    },
    //轮播图列表
    {
        path:"rotate_image",
        name:"AdminlunbotuList",
        component: () => import("@/views/rotate_image/list"),
        meta: { title:"轮播图列表",authLogin:true }
    },
    //添加轮播图
    {
        path:"rotate_image_add",
        name:"AdminlunbotuAdd",
        component: () => import("@/views/rotate_image/add"),
        meta: { title:"添加轮播图",authLogin:true }
    },
    //编辑轮播图
    {
        path:"rotate_image_updt",
        name:"AdminlunbotuUpdt",
        props:route=>({id:route.query.id}),
        component: () => import("@/views/rotate_image/updt"),
        meta: { title:"编辑轮播图",authLogin:true }
    },
    //留言板列表
    {
        path:"comment_boards",
        name:"AdminliuyanbanList",
        component: () => import("@/views/Comment_boards/list"),
        meta: { title:"留言板列表",authLogin:true }
    },
    //留言人
    {
        path:"comment_boards_liuyanren",
        name:"AdminliuyanbanListliuyanren",
        component: () => import("@/views/Comment_boards/list-liuyanren"),
        meta: { title:"留言板列表",authLogin:true }
    },
    //添加留言板
    {
        path:"comment_boards_add",
        name:"AdminliuyanbanAdd",
        component: () => import("@/views/Comment_boards/add"),
        meta: { title:"添加留言板",authLogin:true }
    },
    //留言板详情
    {
        path:"comment_boards_detail",
        name:"AdminliuyanbanDetail",
        props:route=>({id:route.query.id}),
        component: () => import("@/views/Comment_boards/detail"),
        meta: { title:"留言板详情",authLogin:true }
    },
    //编辑留言板
    {
        path:"comment_boards_updt",
        name:"AdminliuyanbanUpdt",
        props:route=>({id:route.query.id}),
        component: () => import("@/views/Comment_boards/updt"),
        meta: { title:"编辑留言板",authLogin:true }
    },



]
